<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: CPPlotExport: Class TCPPlotExport</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TCPPlotExport"></a><h1 class="cio">Class TCPPlotExport</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td><a class="section"  href="#%40Hierarchy">Hierarchy</a></td><td><a class="section"  href="#%40Fields">Fields</a></td><td><a class="section"  href="#%40Methods">Methods</a></td><td><a class="section"  href="#%40Properties">Properties</a></td></tr></table>
<a name="%40Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="CPPlotExport.html">CPPlotExport</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCPPlotExport = class(<a class="normal"  href="CPPlotCanvas.TCPPlotCanvas.html">TCPPlotCanvas</a>)</code></p>
<h2 class="description">Description</h2>
<p>
This is the base class for exporting the view of a plotter control to a certain graphic file format.</p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor"><a class="normal"  href="CPPlotCanvas.TCPPlotCanvas.html">TCPPlotCanvas</a></li>
<li class="thisitem">TCPPlotExport</li></ul><h2 class="overview">Overview</h2>
<a name="%40Fields"></a><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CPPlotExport.TCPPlotExport.html#FFileName">FFileName</a></b>: string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CPPlotExport.TCPPlotExport.html#FInchWidth">FInchWidth</a></b>: Double;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CPPlotExport.TCPPlotExport.html#FInchHeight">FInchHeight</a></b>: Double;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CPPlotExport.TCPPlotExport.html#FFileExtension">FFileExtension</a></b>: string;</code></td>
</tr>
</table>
<a name="%40Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CPPlotExport.TCPPlotExport.html#Create">Create</a></b>(Control: TCustomControl; InchWidth, InchHeight, UnitsPerInch: Double); virtual;</code></td>
</tr>
</table>
<a name="%40Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotExport.TCPPlotExport.html#FileName">FileName</a></b>: string read <a   href="CPPlotExport.TCPPlotExport.html#FFileName">FFileName</a> write <a   href="CPPlotExport.TCPPlotExport.html#FFileName">FFileName</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotExport.TCPPlotExport.html#FileExtension">FileExtension</a></b>: string read <a   href="CPPlotExport.TCPPlotExport.html#FFileExtension">FFileExtension</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FFileName"></a><code><b>FFileName</b>: string;</code></td>
</tr>
<tr><td colspan="2">
<p>
File path of the exported image. This is only needed for surfaces that work as image exporters.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FInchWidth"></a><code><b>FInchWidth</b>: Double;</code></td>
</tr>
<tr><td colspan="2">
<p>
Image width in inch.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FInchHeight"></a><code><b>FInchHeight</b>: Double;</code></td>
</tr>
<tr><td colspan="2">
<p>
Image height in inch.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FFileExtension"></a><code><b>FFileExtension</b>: string;</code></td>
</tr>
<tr><td colspan="2">
<p>
File extension used by file format</p>
</td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(Control: TCustomControl; InchWidth, InchHeight, UnitsPerInch: Double); virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Creates a new exporter instance with specified size. The size of the graphic is specified in inch. For raster formats the image width will be InchWidth * UnitsPerInch pixels and the image height will be InchHeight * UnitsPerInch pixels. Also UnitsPerInch will scale all lengths measured in pt such as line width, font size and grid size.    </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Control</dt>
<dd>Plotter control</dd>
<dt>InchWidth</dt>
<dd>Width of graphic in inches</dd>
<dt>InchHeight</dt>
<dd>Height of graphic in inches</dd>
<dt>UnitsPerInch</dt>
<dd>Canvas units per inch</dd>
</dl>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FileName"></a><code>property <b>FileName</b>: string read <a   href="CPPlotExport.TCPPlotExport.html#FFileName">FFileName</a> write <a   href="CPPlotExport.TCPPlotExport.html#FFileName">FFileName</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
File name to use for export</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FileExtension"></a><code>property <b>FileExtension</b>: string read <a   href="CPPlotExport.TCPPlotExport.html#FFileExtension">FFileExtension</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
File extension of file format</p>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2009-07-25 15:33:03</em>
</span>
</body></html>
